package com.zhy.system.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhy.model.system.SysLoginLog;
import com.zhy.model.system.SysOperLog;
import com.zhy.model.vo.SysLoginLogQueryVo;
import com.zhy.model.vo.SysOperLogQueryVo;
import com.zhy.system.mapper.SysOperLogMapper;
import com.zhy.system.service.SysLoginLogService;
import com.zhy.system.service.SysOperLogService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * @author 随缘而愈
 * @version 1.0
 * @description 查询操作日志服务实现类
 * @date 11/3/2024 下午6:31
 */
@Service
@Transactional
public class SysOperLogServiceImpl extends ServiceImpl<SysOperLogMapper, SysOperLog> implements SysOperLogService {

    @Resource
    private SysOperLogMapper sysOperLogMapper;

    @Override
    public IPage<SysOperLog> findPage(Page<SysOperLog> pageParam, SysOperLogQueryVo sysOperLogQueryVo) {
        return sysOperLogMapper.findPage(pageParam,sysOperLogQueryVo);
    }
}
